package entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class h_room {
    private int ho_room_id;//id
    private String ho_room_name;//酒店名称
    private String ho_room_star;//星级
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ho_room_buildTime;//创建时间
    private String ho_room_phone;//联系电话
    private String ho_room_adress;//详细地址
    private String ho_room_open;//操作
    private int ho_room_number;//酒店总房间数
    private String ho_room_type;//酒店类型
    private String ho_room_person;//负责人
    private String ho_room_IDcard;//身份证
    private int ho_room_surplus;//剩余房间数
    private String ho_room_picture;//酒店图片
    private String ho_room_remarks;//备注

    public String getHo_room_remarks() {
        return ho_room_remarks;
    }

    public void setHo_room_remarks(String ho_room_remarks) {
        this.ho_room_remarks = ho_room_remarks;
    }

    public String getHo_room_picture() {
        return ho_room_picture;
    }

    public void setHo_room_picture(String ho_room_picture) {
        this.ho_room_picture = ho_room_picture;
    }

    public int getHo_room_id() {
        return ho_room_id;
    }

    public void setHo_room_id(int ho_room_id) {
        this.ho_room_id = ho_room_id;
    }

    public String getHo_room_name() {
        return ho_room_name;
    }

    public void setHo_room_name(String ho_room_name) {
        this.ho_room_name = ho_room_name;
    }

    public String getHo_room_star() {
        return ho_room_star;
    }

    public void setHo_room_star(String ho_room_star) {
        this.ho_room_star = ho_room_star;
    }

    public Date getHo_room_buildTime() {
        return ho_room_buildTime;
    }

    public void setHo_room_buildTime(Date ho_room_buildTime) {
        this.ho_room_buildTime = ho_room_buildTime;
    }

    public String getHo_room_phone() {
        return ho_room_phone;
    }

    public void setHo_room_phone(String ho_room_phone) {
        this.ho_room_phone = ho_room_phone;
    }

    public String getHo_room_adress() {
        return ho_room_adress;
    }

    public void setHo_room_adress(String ho_room_adress) {
        this.ho_room_adress = ho_room_adress;
    }

    public String getHo_room_open() {
        return ho_room_open;
    }

    public void setHo_room_open(String ho_room_open) {
        this.ho_room_open = ho_room_open;
    }

    public int getHo_room_number() {
        return ho_room_number;
    }

    public void setHo_room_number(int ho_room_number) {
        this.ho_room_number = ho_room_number;
    }

    public String getHo_room_type() {
        return ho_room_type;
    }

    public void setHo_room_type(String ho_room_type) {
        this.ho_room_type = ho_room_type;
    }

    public String getHo_room_person() {
        return ho_room_person;
    }

    public void setHo_room_person(String ho_room_person) {
        this.ho_room_person = ho_room_person;
    }

    public String getHo_room_IDcard() {
        return ho_room_IDcard;
    }

    public void setHo_room_IDcard(String ho_room_IDcard) {
        this.ho_room_IDcard = ho_room_IDcard;
    }

    public int getHo_room_surplus() {
        return ho_room_surplus;
    }

    public void setHo_room_surplus(int ho_room_surplus) {
        this.ho_room_surplus = ho_room_surplus;
    }

    @Override
    public String toString() {
        return "h_room{" +
                "ho_room_id=" + ho_room_id +
                ", ho_room_name='" + ho_room_name + '\'' +
                ", ho_room_star='" + ho_room_star + '\'' +
                ", ho_room_buildTime=" + ho_room_buildTime +
                ", ho_room_phone='" + ho_room_phone + '\'' +
                ", ho_room_adress='" + ho_room_adress + '\'' +
                ", ho_room_open='" + ho_room_open + '\'' +
                ", ho_room_number='" + ho_room_number + '\'' +
                ", ho_room_type='" + ho_room_type + '\'' +
                ", ho_room_person='" + ho_room_person + '\'' +
                ", ho_room_IDcard='" + ho_room_IDcard + '\'' +
                '}';
    }
}
